home *** CD-ROM | disk | FTP | other *** search
/ Software 2000 / Software 2000 Volume 1 (Disc 1 of 2).iso / st-samples / fx inst a / text / midiinfo < prev    next >
Encoding:
Text File  |  1987-08-16  |  27.3 KB  |  642 lines

  1.  
  2.  
  3. The official MIDI 1.0 specification is available from:
  4. IMA
  5. the International MIDI Association
  6. 11857 Hartsook St.
  7. North Holllywoood, CA  91607
  8. (818) 505-8964
  9.  
  10. The complete MIDI spec as developed by the Japanese manufacturers
  11. and adopted by the "World" at the Summer '85 NAMM show
  12. is available to IMA members ($40/yr) foor $30 non-members $35.
  13.  
  14. The sketchy hardware and byte definitions are free with membership.
  15.  
  16. The following is an expanded MIDI definition (sort of in-between
  17. IMA MIDI 1.0 and the new $35 booklet) entered into the public
  18. domain on USENET net.musi.synth by an altruistic musically
  19. inclined engineer:
  20.  
  21. Bob McQueer
  22. 22 Bcy, 3151
  23.  
  24. All rites reversed.  Reprint what you like.
  25.  
  26.  
  27.                        The USENET MIDI Primer
  28.                             Bob McQueer
  29.  
  30. PURPOSE
  31.  
  32. It seems as though many people in the USENET community have an interest
  33. in the Musical Instrument Digital Interface (MIDI), but for one reason
  34. or another have only obtained word of mouth or fragmentary descriptions
  35. of the specification.  Basic questions such as "what's the baud rate?",
  36. "is it EIA?" and the like seem to keep surfacing in about half a dozen
  37. newsgroups.  This article is an attempt to provide the basic data to
  38. the readers of the net.
  39.  
  40. REFERENCE
  41.  
  42. The major written reference for this article is version 1.0 of the MIDI
  43. specification, published by the International MIDI Association, copyright
  44. 1983.  There exists an expanded document.  This document, which I have not
  45. seen, is simply an expansion of the 1.0 spec. to contain more explanatory
  46. material, and fill in some areas of hazy explanation.  There are no
  47. radical departures from 1.0 in it.  I have also heard of a "2.0" spec.,
  48. but the IMA claims no such animal exists.  In any event, backwards
  49. compatibility with the information I am presenting here should be
  50. maintained.
  51.  
  52. CONVENTIONS
  53.  
  54. I will give constants in C syntax, ie. 0x for hexadecimal.  If I
  55. refer to bits by number, I number them starting with 0 for the low
  56. order (1's place) bit.  The following notation:
  57.  
  58. >>
  59.  
  60. text
  61.  
  62. <<
  63.  
  64. will be used to delimit commentary which is not part of the "bare-
  65. bones" specification.  A sentence or paragraph marked with a question
  66. mark in column 1 is a point I would kind of like to hear something
  67. about myself.
  68.  
  69. OK, let's give it a shot.
  70.  
  71. PHYSICAL CONNECTOR SPECIFICATION
  72.  
  73. The standard connectors used for MIDI are 5 pin DIN.  Separate sockets
  74. are used for input and output, clearly marked on a given device.  The
  75. spec. gives 50 feet as the maximum cable length.  Cables are to be
  76. shielded twisted pair, with the shield connecting pin 2 at both ends.
  77. The pair is pins 4 and 5, pins 1 and 3 being unconnected:
  78.  
  79.                               2
  80.                           5       4
  81.                         3           1
  82.  
  83.  
  84. A device may also be equipped with a "MIDI-THRU" socket which is used
  85. to pass the input of one device directly to output.
  86.  
  87. >>
  88.         I think this arrangement shows some of the original conception
  89.         of MIDI more as a way of allowing keyboardists to control
  90.         multiple boxes than an instrument to computer interface.  The
  91.         "daisy-chain" arrangement probably has advantages for a performing
  92.         musician who wants to play "stacked" synthesizers for a desired
  93.         sound, and has to be able to set things up on the road.
  94. <<
  95.  
  96. ELECTRICAL SPECIFICATION
  97.  
  98. Asynchronous serial interface.  The baud rate is 31.25 Kbaud (+/- 1%).
  99. There are 8 data bits, with 1 start bit and 1 stop bit, for 320 microseconds
  100. per serial byte.
  101.  
  102. MIDI is current loop, 5 mA.  Logic 0 is current ON.  The specification
  103. states that input is to be opto-isolated, and points out that Sharp
  104. PC-900 and HP 6N138 optoisolators are satisfactory devices.  Rise and
  105. fall time for the optoisolator should be less than 2 microseconds.
  106.  
  107. The specification shows a little circuit diagram for the connections
  108. to a UART.  I am not going to reproduce it here.  There's not much
  109. to it - I think the important thing it shows is +5 volt connection
  110. to pi 4 of the MIDI out with pin 5 going to the UART, through 220
  111. ohm load resisors. It also shows that you're supposed to connect
  112. to the "in" side of the UART through an optoisolator, and to the
  113. MIDI-THRU on the UART side of the isolator.
  114.  
  115.  
  116. >>
  117.         I'm not much of a hardware person, and don't really know what
  118.         I'm talking about in paragraphs like the three above.  I DO
  119.         recognize that this is a "non-standard" specification, which
  120.         won't work over serial ports intended for anything else.  People
  121.         who do know about such things seem to either have giggling
  122.         or gagging fits when they see it, depending on their dispos-
  123.         itions, saying things like "I haven't seen current loop since
  124.         the days of the old teletypes".  I also know the fast 31.25
  125.         Kbaud pushes the edge for clocking commonly available UART's.
  126. <<
  127.  
  128. DATA FORMAT
  129.  
  130. For standard MIDI messages, there is a clear concept that one device
  131. is a "transmitter" or "master", and the other a "receiver" or "slave".
  132. Messages take the form of opcode bytes, followed by data bytes.
  133. Opcode bytes are commonly called "status" bytes, so we shall use
  134. this term.
  135.  
  136. >>
  137.         very similar to handling a terminal via escape sequences.  There
  138.         aren't ACK's or other handshaking mechanisms in the protocol.
  139.  
  140. <<
  141.  
  142. Status bytes are marked by bit 7 being 1.  All data bytes must
  143. contain a 0 in bit 7, and thus lie in the range 0 - 127.
  144.  
  145. MIDI has a logical channel concept.  There are 16 logical channels,
  146. encoded into bits 0 - 3 of the status bytes of messages for
  147. which a channel number is significant.  Since bit 7 is taken over
  148. for marking the status byte, this leaves 3 opcode bits for message
  149. types with a logical channel.  7 of the possible 8 opcodes are
  150. used in this fashion,  reserving the status bytes containing all
  151. 1's in the high nibble for "system" messages which don't have a
  152. channel number.  The low order nibble in these remaining messages
  153. is really further opcode.
  154.  
  155. >>
  156.         If you are interested in receiving MIDI input, look over the
  157.         SYSTEM messages even if you wish to ignore them.  Especially the
  158.         "system exclusive" and "real time" messages.  The real time
  159.         messages may be legally inserted in the middle of other data,
  160.         and you should be aware of them, even though many devices won't
  161.         use them.
  162. <<
  163.  
  164. VOICE MESSAGES
  165.  
  166. I will cover the message with channel numbers first.  The opcode determines
  167. the number of data bytes for a single message (see "running status byte",
  168. below).  The specification divides these into "voice" and "mode" messages.
  169. The "mode" messages are for control of the logical channels, and the control
  170. opcodes are piggybacked onto the data bytes for the "parameter" message.  I
  171. will go into this after describing the "voice messages".  These messages are:
  172.  
  173. status byte   meaning        data bytes
  174.  
  175. 0x80-0x8f     note off       2 - 1 byte pitch, followed by 1 byte velocity
  176. 0x90-0x9f     note on        2 - 1 byte pitch, followed by 1 byte velocity
  177. 0xa0-0xaf     key pressure   2 - 1 byte pitch, 1 byte pressure (after-touch)
  178. 0xb0-0xbf     parameter      2 - 1 byte parameter number, 1 byte setting
  179. 0xc0-0xcf     program        1 byte program selected
  180. 0xd0-0xdf     chan. pressure 1 byte channel pressure (after-touch)
  181. 0xe0-0xef     pitch wheel    2 bytes giving a 14 bit value, least
  182.                                    significant 7 bits first
  183.  
  184. Many explanations are necessary here:
  185.  
  186. For all of these messages, a convention called the "running status
  187. byte" may be used.  If the transmitter wishes to send another message
  188. of the same type on the same channel, thus the same status byte, the
  189. status byte need not be resent.
  190.  
  191. Also, a "note on" message with a velocity of zero is to be synonymous
  192. with a "note off".  Combined with the previous feature, this is intended
  193. to allow long strings of notes to be sent without repeating status bytes.
  194.  
  195.  
  196. >>
  197.         From what I've seen, the "zero velocity note on" feature is very
  198.         heavily used.  My six-trak sends these, even though it sends
  199.         status bytes on every note anyway.  Roland stuff uses it.
  200. <<
  201.  
  202. The pitch bytes of notes are simply number of half-steps, with
  203. middle C = 60.
  204.  
  205. >>
  206.         On keyboard synthesizers, this usually simply means which
  207.         physical key corresponds, since the patch selection will
  208.         change the actual pitch range of the keyboard.  Most keyboards
  209.         have one C key which is unmistakably in the middle of the
  210.         keyboard.  This is probably note 60.
  211. <<
  212.  
  213. The velocity bytes for velocity sensing keyboards are supposed
  214. to represent a logarithmic scale.  "advisable" in the words
  215. of the spec.  Non-velocity sensing devices are supposed to
  216. send velocity 64.
  217.  
  218. The pitch wheel value is an absolute setting, 0 - 0x3FFF.  The
  219. 1.0 spec. says that the increment is determined by the receiver.
  220. 0x2000 is to correspond to a centered pitch wheel (unmodified
  221. notes)
  222.  
  223. >>
  224.         I believe standard scale steps are one of the things discussed
  225.         in expansions.  The six-trak pitch wheel is up/down about a third.
  226.         I believe several makers have used this value, but I may be wrong.
  227.  
  228.         The "pressure" messages are for keyboards which sense the amount
  229.         of pressure placed on an already depressed key, as opposed to
  230.         velocity, which is how fast it is depressed or released.
  231.  
  232. ?       I'm not really certain of how "channel" pressure works.  Yamaha
  233.         is one maker that uses these messages, I know.
  234. <<
  235.  
  236. Now, about those parameter messages.
  237.  
  238. Instruments are so fundamentally different in the various controls
  239. they have that no attempt was made to define a standard set, like
  240. say 9 for "Filter Resonance".  Instead, it was simply assumed that
  241. these messages allow you to set "controller" dials, whose purposes
  242. are left to the given device, except as noted below.  The first data
  243. bytes correspond to these "controllers" as follows:
  244.  
  245. data byte
  246.  
  247. 0 - 31       continuous controllers 0 - 31, most significant byte
  248. 32 - 63      continuous controllers 0 - 31, least significant byte
  249. 64 - 95      on / off switches
  250.  
  251. 96 - 121     unspecified, reserved for future.
  252. 122 - 127    the "channel mode" messages I alluded to above.  See
  253.              below.
  254.  
  255. The second data byte contains the seven bit setting for the controller.
  256. The switches have data byte 0 = OFF, 127 = ON with 1 - 126 undefined.
  257. If a controller only needs seven bits of resolution, it is supposed to
  258. use the most significant byte.  If both are needed, the order is
  259. specified as most significant followed by least significant.  With a
  260. 14 bit controller, it is to be legal to send only the least significant
  261. byte if the most significant doesn't need to be changed.
  262.  
  263. >>
  264.         This may of, course, wind up stretched a bit by a given manufacturer.
  265.         The Six-Trak, for instance, uses only single byte values (LEFT
  266.         justified within the 7 bits at that), and recognizes >32 parameters
  267. <<
  268.  
  269. Controller number 1 IS standardized to be the modulation wheel.
  270.  
  271. ?       Are there any other standardizations which are being followed by most
  272.         manufacturers?
  273.  
  274. MODE MESSAGES
  275.  
  276. These are messages with status bytes 0xb0 through 0xbf, and leading data
  277. bytes 122 - 127.  In reality, these data bytes function as further
  278. opcode data for a group of messages which control the combination of
  279. voices and channels to be accepted by a receiver.
  280.  
  281. An important point is that there is an implicit "basic" channel over which
  282. a given device is to receive these messages.  The receiver is to ignore
  283. mode messages over any other channels, no matter what mode it might be in.
  284. The basic channel for a given device may be fixed or set in some manner
  285. outside the scope of the MIDI standard.
  286.  
  287. The meaning of the values 122 through 127 is as follows:
  288.  
  289. data byte                   second data byte
  290. 122       local control     0 = local control off, 127 = on
  291. 123       all notes off     0
  292. 124       omni mode off     0
  293. 125       omni mode on      0
  294. 126       monophonic mode   number of monophonic channels, or 0
  295.                             for a number equal to receivers voices
  296. 127       polyphonic mode   0
  297.  
  298. 124 - 127 also turn all notes off.
  299.  
  300. Local control refers to whether or not notes played on an instruments
  301. keyboard play on the instrument or not.  With local control off, the
  302. host is still supposed to be able to read input data if desired, as
  303. well as sending notes to the instrument.  Very much like "local echo"
  304. on a terminal, or "half duplex" vs. "full duplex".
  305.  
  306.  
  307. The mode setting messages control what channels / how many voices the
  308. receiver recognizes.  The "basic channel" must be kept in mind. "Omni"
  309. refers to the ability to receive voice messages on all channels.  "Mono"
  310. and "Poly" refer to whether multiple voices are allowed.  The rub is
  311. that the omni on/off state and the mono/poly state interact with each
  312. other.  We will go over each of the four possible settings, called "modes"
  313. and given numbers in the specification:
  314.  
  315. mode 1 - Omni on / Poly - voice messages received on all channels and
  316.          assigned polyphonically.  Basically, any notes it gets, it
  317.          plays, up to the number of voices it's capable of.
  318.  
  319. mode 2 - Omni on / Mono - monophonic instrument which will receive
  320.          notes to play in one voice on all channels.
  321.  
  322. mode 3 - Omni off / Poly - polyphonic instrument which will receive
  323.          voice messages on only the basic channel.
  324.  
  325. mode 4 - Omni off / Mono - A useful mode, but "mono" is a misnomer.
  326.          To operate in this mode a receiver is supposed to receive
  327.          one voice per channel.  The number channels recognized will be
  328.          given by the second data byte, or the maximum number of possible
  329.          voices if this byte is zero.  The set of channels thus defined
  330.          is a sequential set, starting with the basic channel.
  331.  
  332. The spec. states that a receiver may ignore any mode that it cannot
  333. honor, or switch to an alternate - "usually" mode 1.  Receivers are
  334. supposed to default to mode 1 on power up.  It is also stated that
  335. power up conditions are supposed to place a receiver in a state where
  336. it will only respond to note on / note off messages, requiring a
  337. setting of some sort to enable the other message types.
  338.  
  339. >>
  340.         I think this shows the desire to "daisy-chain" devices for
  341.         performance from a single master again.  We can set a series
  342.         of instruments to different basic channels, tie 'em together,
  343.         and let them pass through the stuff they're not supposed to
  344.         play to someone down the line.
  345.  
  346.         This suffers greatly from lack of acknowledgement concerning
  347.         modes and usable channels by a receiver.  You basically have
  348.         to know your device, what it can do, and what channels it can
  349.         do it on.
  350.  
  351.         I think most makers have used the "system exclusive" message
  352.         (see below) to handle channels in a more sophisticated manner,
  353.         as well as changing "basic channel" and enabling receipt of
  354.         different message types under host control rather than by
  355.         adjustment on the device alone.
  356.  
  357.         The "parameters" may also be usurped by a manufacturer for
  358.         mode control, since their purposes are undefined.
  359.  
  360.  
  361.         Another HUGE problem with the "daisy-chain" mental set of MIDI
  362.         is that most devices ALWAYS shovel whatever they play to their
  363.         MIDI outs, whether they got it from the keyboard or MIDI in.
  364.         This means that you have to cope with the instrument echoing
  365.         input back at you if you're trying to do an interactive session
  366.         with the synthesizer.  There is DRASTIC need for some MIDI flag
  367.         which specifically means that only locally generated data is to
  368.         go to MIDI out.  From device to device there are ways of coping
  369.         with this, none of them good.
  370. <<
  371.  
  372. SYSTEM MESSAGES
  373.  
  374. The status bytes 0x80 - 0x8f do not have channel numbers in the
  375. lower nibble.  These bytes are used as follows:
  376.  
  377. byte    purpose              data bytes
  378.  
  379. 0xf0    system exclusive     variable length
  380. 0xf1    undefined
  381. 0xf2    song position        2 - 14 bit value, least significant byte
  382.                                  first
  383. 0xf3    song select          1 - song number
  384. 0xf4    undefined
  385. 0xf5    undefined
  386. 0xf6    tune request         0
  387. 0xf7    EOX (terminator)     0
  388.  
  389. The status bytes 0xf8 - 0xff are the so-called "real-time" messages.
  390. I will discuss these after the accumulated notes concerning the
  391. first bunch.
  392.  
  393. Song position / song select are for control of sequencers.  The
  394. song position is in beats, which are to be interpreted as every
  395. 6 MIDI clock pulses.  These messages determine what is to be played
  396. upon receipt of a "start" real-time message (see below).
  397.  
  398. The "tune request" is a command to analog synthesizers to tune their
  399. oscillators.
  400.  
  401. The system exclusive message is intended for manufacturers to use
  402. to insert any specific messages they want to which apply to their
  403. own product.  The following data bytes are all to be "data" bytes,
  404. that is they are all to be in the range 0 - 127.  The system exclusive
  405. is to be terminated by the 0xf7 terminator byte.  The first data byte
  406. is also supposed to be a "manufacturer's id", assigned by a MIDI
  407. standards committee.  THE TERMINATOR BYTE IS OPTIONAL - a system
  408. exclusive may also be "terminated" by the status byte of the next
  409. message.
  410.  
  411. >>
  412.         Yamaha, in particular, caused problems by not sending terminator
  413.         bytes.  As I understand it, the DX-7 sends a system exclusive
  414.         at something like 80 msec. intervals when it has nothing better
  415.         to do, just so you know it's still there, I guess.  The messages
  416.         aren't explicitly terminated, so if you want to handle the
  417.         protocol (esp. in hardware), you should be aware that a DX-7
  418.  
  419.         will leave you in "waiting for EOX" state a lot, and be sending
  420.         data even when it isn't doing anything.  This is all word of
  421.         mouth, since I've never personally played with a DX-7.
  422. <<
  423.  
  424. some MIDI ID's:
  425.  
  426.         Sequential Circuits   1      Bon Tempi     0x20     Kawai     0x40
  427.         Big Briar             2      S.I.E.L.      0x21     Roland    0x41
  428.         Octave / Plateau      3                             Korg      0x42
  429.         Moog                  4      SyntheAxe     0x23     Yamaha    0x43
  430.         Passport Designs      5
  431.         Lexicon               6
  432.  
  433.     PAIA                  0x11
  434.     Simmons               0x12
  435.     Gentle Electric       0x13
  436.     Fairlight             0x14
  437.  
  438. >>
  439.         Note the USA / Europe / Japan grouping of codes.  Also note
  440.         that Sequential Circuits snarfed id number 1 - Sequential
  441.         Circuits was one of the earliest participators in MIDI, some
  442.         people claim its originator.
  443.  
  444.         Two large makers missing from the original lineup were Casio
  445.         and Oberheim.  I know Oberheim is on the bandwagon now, and
  446.         Casio also, I believe.  Oberheim had their own protocol previous
  447.         to MIDI, and when MIDI first came out they were reluctant to
  448. ?       go along with it.  I wonder what we'd be looking at if Oberheim
  449.         had pushed their ideas and made them the standard.  From what I
  450.         understand they thought THEIRS was better, and kind of sulked
  451.         for a while until the market forced them to go MIDI.
  452.  
  453. ?       Nobody seems to care much about these ID numbers.  I can only
  454.         imagine them becoming useful if additions to the standard message
  455.         set are placed into system exclusives, with the ID byte to let
  456.         you know what added protocol is being used.  Are any groups of
  457.         manufacturers considering consolidating their efforts in a
  458.         standard extension set via system exclusives?
  459. <<
  460.  
  461. REAL TIME MESSAGES.
  462.  
  463. This is the final group of status bytes, 0xf8 - 0xff.  These bytes
  464. are reserved for messages which are called "real-time" messages
  465. because they are allowed to be sent ANYPLACE.  This includes in
  466. between data bytes of other messages.  A receiver is supposed to
  467. be able to receive and process (or ignore) these messages and
  468. resume collection of the remaining data bytes for the message
  469. which was in progress.  Realtime messages do not affect the
  470. "running status byte" which might be in effect.
  471.  
  472.  
  473. ?       Do any devices REALLY insert these things in the middle of
  474.         other messages?
  475.  
  476.  
  477. All of these messages have no data bytes following (or they could
  478. get interrupted themselves, obviously).  The messages:
  479.  
  480. 0xf8   timing clock
  481. 0xf9   undefined
  482. 0xfa   start
  483. 0xfb   continue
  484. 0xfc   stop
  485. 0xfd   undefined
  486. 0xfe   active sensing
  487. 0xff   system reset
  488.  
  489. The timing clock message is to be sent at the rate of 24 clocks
  490. per quarter note, and is used to sync. devices, especially drum
  491. machines.
  492.  
  493. Start / continue / stop are for control of sequencers and drum
  494. machines.  The continue message causes a device to pick up at the
  495. next clock mark.
  496.  
  497. >>
  498.         These things are also designed for performance, allowing control
  499.         of sequencers and drum machines from a "master" unit which
  500.         sends the messages down the line when its buttons are pushed.
  501.  
  502.         I can't tell you much about the trials and tribulations of drum
  503.         machines.  Other folks can, I am sure.
  504. <<
  505.  
  506. The active sensing byte is to be sent every 300 ms. or more often,
  507. if it is used.  Its purpose is to implement a timeout mechanism
  508. for a receiver to revert to a default state.  A receiver is to
  509. operate normally if it never gets one of these, activating the
  510. timeout mechanism from the receipt of the first one.
  511.  
  512. >>
  513.         My impression is that active sensing is largely unused.
  514. <<
  515.  
  516. The system reset initializes to power up conditions.  The spec. says
  517. that it should be used "sparingly" and in particular not sent
  518. automatically on power up.
  519.  
  520. AND NOW, CLIMBING TO THE PULPIT ....
  521.  
  522. >> - from here on out.
  523.  
  524. There are many deficiencies with MIDI, but it IS a standard.  As such,
  525. it will have to be grappled with.
  526.  
  527. The electrical specification leaves me with only one question - WHY?
  528. What was wanted was a serial interface, and a perfectly good RS232
  529. specification was to be had.  WHY wasn't it used?  The baud rate is
  530. too fast to simply convert into something you can feed directly to
  531.  
  532. your serial port via fairly dumb hardware, also.  The "standard"
  533. baud rate step you would have to use would be 38.4 Kbaud which very
  534. few hardware interfaces accept.  The other alternative is to buffer
  535. messages and send them out a slower baud rate - in fact buffering
  536. of characters by some kind of I/O processor is very helpful.  Hence
  537. units like the MPU-401, which does a lot of other stuff, too of
  538. course.
  539.  
  540. The fast baud rate with MIDI was set for two reasons I believe:
  541.  
  542.         1) to allow daisy-chaining of a few devices with no noticeable
  543.                 end to end lag.
  544.  
  545.         2) to allow chords to be played by just sending all the notes down
  546.                 the pipe, the baud rate being fast enough that they will
  547.                 sound simultaneous.
  548.  
  549. It doesn't exactly work - I've heard gripes concerning end to end lag
  550. on three instrument chains.  And consider chords - at two bytes (running
  551. status byte being used) per note, there will be a ten character lag
  552. between the trailing edges of the first and last notes of a six note
  553. chord.  That's 3.2 ms., assuming no "dead air" between characters.  It's
  554. still pretty fast, but on large chords with voices possessing distinctive
  555. attack characteristics, you may hear separate note beginnings.
  556.  
  557. I think MIDI could have used some means of packetizing chords, or having
  558. transaction markers.  If a "chord" message were specified, you could easily
  559. break even on byte count with a few notes, given that we assume all notes
  560. of a chord at the same velocity.  Transaction markers might be useful in
  561. any case, although I don't know if it would be worth taking over the
  562. remaining system message space for them.  I would say yes.  I would
  563. see having "start" and "end" transaction bytes.  On receipt of a "start"
  564. a receiver buffers up but does not act on messages until receipt of the
  565. "end" byte.  You could then do chords by sending the notes ahead of time,
  566. and precisely timing the "end" marker.  Of course, the job of the hardware
  567. in the receiver has been complicated considerably.
  568.  
  569. The protocol is VERY keyboard oriented - take a look at the use of TWO
  570. of the opcodes in the limited opcode space for "pressure" messages,
  571. and the inability to specify semitones or glissando effects except
  572. through the pitch wheel (which took up yet ANOTHER of the opcodes).
  573. All keyboards I know of modify ALL playing notes when they receive
  574. pitch wheel data.  Also, you have to use a continuous stream of
  575. pitch wheel messages to effect a slide, the pitch wheel step isn't
  576. standardized, and on a slide of a large number of tones you will
  577. overrun the range of the wheel.
  578.  
  579. ?       Some of these problems would be addressed by a device which allowed
  580.         its pitch wheel to have selective control - say modifying only
  581.         the notes playing on the channel the pitch wheel message is
  582.         received in, for instance.  The thing for a guitar synthesizer
  583.         to do, then, would be to use mode 4, one channel per string, and
  584.         bends would only affect the one note.  You could play a chord
  585.         on a voice with a lot of release, then bend a note and not have
  586.         the entire still sounding chord bend.  Any such devices?
  587.  
  588.  
  589. I think some of the deficiencies in MIDI might be addressed by
  590. different communities of interest developing a standard set of
  591. system exclusives which answer the problem.  One perfect area
  592. for this, I think, is a standard set for representation of "non-
  593. keyboard / drum machine" instruments which have continuous pitch
  594. capabilities.  Like a pedal steel, for instance.  Or non-western
  595. intervals.  Like a sitar.
  596.  
  597. There is a crying need to do SOMETHING about the "loopback" problem.
  598. I would even vote for usurping a few more bytes in the mode messages
  599. to allow you to TURN OFF input echo by the receiver.  With the
  600. local control message, you could then at least deal with something
  601. that would act precisely like a half or full duplex terminal.
  602. .More..Several patchwork solutions exist to this problem, but there OUGHT
  603. to be a standard way of doing it within the protocol.  Another
  604. thought is to allow data bytes of other than 0 or 127 to control
  605. echo on the existing local control message.
  606.  
  607. The lack of acknowledgement is a problem.  Another candidate for a
  608. standard system exclusive set would be a series of messages for
  609. mode setting with acknowledgement.  This set could then also
  610. take care of the loopback problem.
  611.  
  612. The complete lack of ability to specify standardized waveforms is
  613. probably another source of intense disappointment to many readers.
  614. Trouble is, the standard lingo used by the synthesizer industry and
  615. most working musicians is something which hails back to the first
  616. days of synthesizer design, deals with envelope generators and
  617. filters and VCO / LFO hardware parameters, and is very damn difficult
  618. to relate to Fourier series expressing the harmonic content or any other
  619. abstractions some people interested in doing computer composition
  620. would like.  The parameter set used by the average synthesizer manufacturer
  621. isn't anyplace close to orthogonal in any sense, and is bound to vary
  622. wildly in comparison to anybody elses.  There are essentially no
  623. abstractions made by most of the industry from underlying hardware
  624. parameters.  That standardizations exist reflects only the similarity
  625. in hardware.  This is one quagmire that we have a long way to go to
  626. get out of, I think.  It might be possible, eventually, to come up
  627. with translation tables describing the best way to approximate a
  628. desired sound on a given device in terms of its parameter set, but
  629. the difficulties are enormous.  MIDI has chosen to punt on this one,
  630. folks.
  631.  
  632. Well that's about it.  Good luck with talking to your synthesizer.
  633.  
  634. Bob McQueer
  635. 22 Bcy, 3151
  636.  
  637. All rites reversed.  Reprint what you like.
  638.  
  639.  
  640. End of list.
  641.  
  642. Download another file (Y/N)?